package com.ruoyi.system.mapper;

import com.ruoyi.system.domain.SysOrderStrikeInvalid;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.system.domain.dto.SysOrderResponseDTO;
import com.ruoyi.system.vo.req.order.OrderDataGroupResponseDTO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author xdh
* @description 针对表【sys_order_strike_invalid(订单核查无效记录表（核查反馈信息表）)】的数据库操作Mapper
* @createDate 2024-07-02 18:21:58
* @Entity com.ruoyi.system.domain.SysOrderStrikeInvalid
*/
public interface SysOrderStrikeInvalidMapper extends BaseMapper<SysOrderStrikeInvalid> {

    List<OrderDataGroupResponseDTO> selectCountGroupByMonth(Long deptId);

    Integer selectCountBeforeMonth(@Param("last12Month") String last12Month, @Param("deptId")Long deptId);

    List<SysOrderResponseDTO> listByOrderId();

    List<SysOrderResponseDTO> countBySql(Long deptId);

    List<SysOrderStrikeInvalid> selectListByDeptId(Integer cityDeptId);
}




